# _*_ encoding:utf-8 _*_
from django.conf.urls import url, include
from django.contrib import admin
# from django.urls import path, re_path, include

from rest_framework.routers import DefaultRouter
from rest_framework.documentation import include_docs_urls
from rest_framework.authtoken import views


# from game.views import SmsCodeViewset
#
router = DefaultRouter()
#
# #配置Record的url
# router.register(r'record', SmsCodeViewset,base_name='Record')


urlpatterns = [
    url('admin/', admin.site.urls),
    url('api-auth/',include('rest_framework.urls')),
    url(r'docs/', include_docs_urls(title="游戏")),
    # re_path('^', include(router.urls)),
    # url(r'api/(?P<version>\w+)/', include('games.urls')),
    url(r'api/', include('games.urls')),
]
